package com.datawale.vh.demo.work.constant;

import lombok.Getter;

/**
 * @author huangtao
 * @time 2023/6/16
 * @description
 */
@Getter
public enum TaskStatus {

    INIT(0,"初始化"),
    VIDEO_READY(1,"音频上传完成"),
    TEXT_READY(2,"文本上传完成"),
    ASR_SUCCESS(3,"语音识别成功"),
    TTS_SUCCESS(4,"语音合成成功"),
    LLM_SUCCESS(5,"大模型调用成功"),
    RENDER_SUCCESS(10,"渲染完成"),
    ;

    TaskStatus(int code,String desc){
        this.code = code;
        this.desc = desc;
    }

    private int code;

    private String desc;
}
